<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    // let set = new Set(["hdcms", "houdunren"]);
    // console.log(Array.from(set));
    // console.log([...set]);
    // let hd = new Set("123456789");
    // console.log(hd);
    // hd = new Set([...hd].filter(item => item < 5));
    // console.log(hd);
    let array = [1, 2, 3, 4, 5, 2, 3, 1];
    array = [...new Set(array)];
    console.log(array);
  </script>
</html>
